package com.cj.stock.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cj.stock.entity.Stock;

import java.util.Map;

/**
 * @Author cheng jun
 * @Description:
 * @Date 2021/7/25 17:51
 */
public interface StockService extends IService<Stock> {

    /**
     * 减库存
     * @param map
     * @return
     */
    boolean deleteStock(Map<String, Object> map);
}
